package net.model.adapter.object;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.Vector;

public class Test {

	public static void main(String[] args) {
		
		Vector<String> vec = new Vector<String>();
		vec.add("zhang");
		vec.add("wang");
		vec.add("li");
		EnumIterator enumIterator = new EnumIterator(vec.elements());
		while(enumIterator.hasNext()) {
			System.out.println(enumIterator.next());
		}
		
		System.out.println("===================");
		
		ArrayList<String> arry = new ArrayList<String>();
		arry.add("zhao");
		arry.add("zhou");
		Iterator<String> it = arry.iterator();
		while(it.hasNext()) {
			System.out.println(it.next());
		}
	}
}
